package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SysChatRoomFriend;

/**
 * 单聊房间业务对象 sys_chat_room_friend
 *
 * @author Lion Li
 * @date 2025-02-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysChatRoomFriend.class, reverseConvertGenerate = false)
public class SysChatRoomFriendBo extends BaseEntity {

    /**
     * 用户状态ID
     */
    @NotNull(message = "用户状态ID不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 房间ID
     */
    private Long roomId;

    /**
     * 人员ID
     */
    private Long uid1;

    /**
     * 人员ID
     */
    private Long uid2;

    /**
     * 房间状态 0正常 1禁用(删好友了禁用)
     */
    private Long status;

    /**
     * 房间状态 0正常 1禁用(删好友了禁用)
     */
    private String roomKey;

    /**
     * 备注
     */
    private String remark;


}
